home *** CD-ROM | disk | FTP | other *** search
- Short: Run a command on a randomly chosen file
- Type: util/rexx
- Uploader: ac368@leo.nmc.edu (Bill Bereza)
- Author: ac368@leo.nmc.edu (Bill Bereza)
-
- /*
- **
- ** rndfile 1.1
- ** By Bill Bereza bereza@beech.csis.gvsu.edu ac368@leo.nmc.edu
- ** $VER: rndfile 1.1 (16.3.94)
- **
- ** based on RXBlank by Brian C. Berg
- **
- ** Usage: rndfile <path> [command [options]] [ALL|DIR|FILE]
- **
- ** Examples:
- ** RX rndfile Sounds:Samples/
- ** uses default command on a file in that directory
- **
- ** RX rndfile Sounds:Samples/ delete All
- ** uses delete command on a random File OR Directory in that dir
- **
- ** RX rndfile Sounds:Samples/ Multiview SCREEN FILE
- ** uses Multiview program on a random File with SCREEN option in that dir
- **
- ** Disclaimer: Don't blame me if you randomly screw something up.
- ** By executing this script you take your life and your
- ** files into your own hands.
- **
- ** ObLegal: This script is freeware. Do what you like with it.
- ** If you use part of this, at least give me some
- ** credit|blame.
- **
- ** Note: The program strips '.info' files out of this list of files
- ** to be randomly chosen from.
- ** I think randomly doing something to just a '.info' would
- ** be pointless.
- **
- ** History: 1.1 Fixed instructions/comments
- **
- ** 1.0 Wrote program mainly for Amiga users on alt.tv.animaniacs
- ** just because it could be done alot easier than some bogosity
- ** for clones called SPIN.EXE.
- */
-
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 5412 1928 64.3% 16-Mar-94 18:34:56 rndfile
- 1585 717 54.7% 16-Mar-94 23:08:18 rndfile11.readme
- -------- ------- ----- --------- --------
- 6997 2645 62.1% 20-Mar-94 22:31:36 2 files
-